package com.itbour.dao.trade;

import java.util.List;
import java.util.Map;

import com.itbour.dto.trade.ActivityInfoDto;
import com.itbour.dto.trade.ActivityRInfoDto;
import com.itbour.dto.trade.ItemInfoDto;
import com.itbour.dto.trade.PriceInfoDto;
import com.itbour.dto.trade.PrintRelInfoDto;


/**@author LQ
 *	活动场次DAO
 */
public interface ActivityInfoDao {
	
	public List<ActivityInfoDto> listActivityInfo(Map<String, Object> parm);//获取活动信息
	public List<ActivityRInfoDto> selectActItemInfo(Map<String, Object> parm);//获取活动商品信息
	public List<ItemInfoDto> selectItemsInfo(Map<String,Object> param);
	
	public int getActivityCnt(Map<String, Object> parm);//获取活动数
	public int selectActItemCnt(Map<String, Object> parm);//获取活动商品数
	public List<ActivityRInfoDto> getOneActivityRInfo(Map<String, Object> parm);
	public int selectItemsCnt(Map<String,Object> param);
	
	public void insertActivityInfo(Map<String, Object> parm);//添加活动
	
	public void insertActivityRInfo(Map<String, Object> parm);//添加活动商品
	
	public void updateActivityInfo(Map<String, Object> parm);//修改活动
	
	public void updateActivityRInfo(Map<String, Object> parm);//修改活动商品
	
	public void delActivityInfo(Map<String, Object> parm);//删除活动
	
	public void delActivityRInfo(Map<String, Object> parm);//删除活动商品
	
	public void publishActInfo(Map<String, Object> parm);//发布活动
	
	public List<PrintRelInfoDto> selectPrintRelInfoByItem(Map<String, Object> parm);//获取套餐
	
	public List<PriceInfoDto> selectNumberByPpId(Map<String, Object> parm);//获取套餐数量价格计量
	
	
	
	
}
